package com.sniper.springmvc.shiro.session.redis;

import org.apache.shiro.cache.Cache;
import org.apache.shiro.cache.CacheException;

/**
 * 自定义缓存接口增加一个时间有效期的方法
 * Created by suzhen on 2017/4/12.
 */
public interface MyCache<K, V> extends Cache<K, V> {


    void put(K k, V v, long time) throws CacheException;

}
